package com.xzr.yespaper.mapper;

import com.xzr.yespaper.bean.Paper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PaperMapper {
    public List<Paper> getByAuthor(String author);
    public List<Paper> getByAuthor2(String author);
    public Paper getByID(Paper paper);
    public List<Paper> getByReviewer(String reviewer);
    public List<Paper> getAll();
    public List<Paper> getAllPub();
    public void createPaper(Paper paper);
    public void updatePaperInfo(Paper paper);
    public void updatePaperSource(Paper paper);
    public void updatePaperState(Paper paper);
    public void deletePaper(Paper paper);
}
